/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 收件人信息维护 (DLR)

// 查询	/recipient/oem/queryList
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/recipient/dlr/queryList`, params)

// 新增 /recipient/oem/saveRecipient
export const saveData = (params) => axios.post(`${SERVER.WHOLESALES}/recipient/dlr/saveRecipient`,
  params
)
//  导出	/recipient/oem/exportRecipient
export const exportExcel = (params) => axios.post(`${SERVER.WHOLESALES}/recipient/dlr/exportRecipient`, params, {
  responseType: 'blob'
});
